package com.yumeko.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (TOrder)实体类
 *
 * @author Zheng Hao
 * @since 2020-03-20 19:31:44
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TOrder implements Serializable {
    private static final long serialVersionUID = -10089314566998163L;
    
    private Long id;
    /**
    * 用户id
    */
    private Long userId;
    /**
    * 产品id
    */
    private Long productId;
    /**
    * 数量
    */
    private Integer count;
    /**
    * 金额
    */
    private Double money;
    /**
    * 订单状态：0：创建中；1：已完结
    */
    private Integer status;

}